package com.woniu.humanresource.service;

import com.woniu.humanresource.entity.PageBean;
import com.woniu.humanresource.entity.Training;

public interface TrainingService {
    // 条件查询
    PageBean<Training> getAllTrainingByCondition(Training training,int pageIndex, int pageSize);
    // 删除
    void deleteTraining(int tid);
    // 添加
    void addTraining(Training training);
    // 修改
    void updateTraining(Training training);
}
